//@json
function main(tbl){
	let name=Jse.app();
	var fs=new File(Jse.webapps()+"upload/log/"+name+"/").listFiles();
	var rows=new ArrayList();
	for (var i = 0; i < fs.length; i++) {
		let f=fs[i];
		rows.add({id:i+1,name:Fs.getName(f),time:Fs.getBaseName(f),size:f.length(),path:f.getPath()})
	}
	return {code:0,rows:rows,"pager":{"pageNumber":1,"pageSize":1,"pageCount":1,"recordCount":10}};
}